# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:       加一
# Name:         demo4.22
# Description:  利用in运算符判断一个字符串属于一个序列，那么in运算符返回TRUE
# Author:       加一
# Date:         2019/2/26
#-------------------------------------------------------------------------------

str = "I love you"
print("you" in str)
print("helllo" in str)
names = ["Bill","Mike","John"]
print("Mike" in names)
print("Mary" in names)